<%@page import="com.bill.common.news.dto.NewsDetailDTO"%>
<%@page import="org.springframework.web.context.support.WebApplicationContextUtils"%>
<%@page import="com.bill.common.news.service.INewsService"%>
<%@page import="org.springframework.context.ApplicationContext"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ include file="../language.jsp" %>
<%
ApplicationContext ac = WebApplicationContextUtils.getWebApplicationContext(getServletContext());
INewsService newsService = (INewsService)ac.getBean("newsService");
NewsDetailDTO newDetailDto = newsService.findNewsByNewType("ContactUS");
request.setAttribute("newDetailDto",newDetailDto);
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="UTF-8">
<title><fmt:message key="i18n.companyInfo"/>-<fmt:message key="i18n.title"/> </title>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1" />

<!-- Bootstrap framework -->
    <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css" />
    <link rel="stylesheet" href="bootstrap/css/bootstrap-responsive.min.css" />
<!-- breadcrumbs-->
	<link rel="stylesheet" href="lib/jBreadcrumbs/css/BreadCrumb.css" />
<!-- main styles -->
    <link rel="stylesheet" href="css/sub_page_main_style.css" />

<!--[if lte IE 8]>
    <link rel="stylesheet" href="css/ie.css" />
    <script src="js/ie/html5.js"></script>
    <script src="js/ie/respond.min.js"></script>
<![endif]-->

</head>
<body>

<!-- 主体内容 -->
<div id="contentwrapper">
	<div class="main_content">
		 <nav>
            <div id="jCrumbs" class="breadCrumb module">
                <ul>
                    <li>
                        <a href="main.jsp"><i class="icon-home"></i></a>
                    </li>
                    <li>
                        <a href="#"><fmt:message key="i18n.ofOur"/></a>
                    </li>
                    <li>
                        <a href="#"><fmt:message key="i18n.ContactOur"/></a>
                    </li>
                </ul>
            </div>
         </nav>
         
         <div class="row-fluid">
                        <div class="span12">
                            <div class="blog_content">
                                <div class="blog_item">
                                    <h1>${newDetailDto.title }</h1>
                                    <div class="toolbar clearfix">
                                        <span class="muted">${newDetailDto.releaseTime }</span>
                                        <div class="pull-right"><span class="label label-info">Info</span></div>
                                    </div>
                                    <div class="media">
                                        <a href="#" class="pull-left">
                                           <!--  <img src="gallery/Image06_tn.jpg" class="thumbnail media-object" alt=""> -->
                                        </a>
                                        <div class="media-body">
                                            <p>${newDetailDto.content }</p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
         
    </div>
</div>         

</body>
</html>